/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package teste;

import br.ifrr.gepro.acesso.bean.UsuarioBean;
import br.ifrr.gepro.acesso.dao.UsuarioDao;
import br.ifrr.gepro.util.DAOException;

/**
 *
 * @author rafael
 */
public class TesteUser {
    public static void main(String[] args) throws DAOException {
//        UsuarioBean u = (UsuarioBean) new UsuarioDao().selecionarPorLogin("teste");
//        System.out.println(u);
        String pagina = "/pages/acesso/login.xhtml";
        System.out.println(pagina.lastIndexOf("/pages/acesso/login.xhtml"));
        
    }
    
}
